package dnl.util.charset;

import java.nio.charset.Charset;
import java.util.Map;
import java.util.Set;
import java.util.SortedMap;
import java.util.Map.Entry;

public class CharsetUtil {

	public static void printAvailableCharsets(){
		SortedMap<String, Charset> m = Charset.availableCharsets();
		Set<Map.Entry<String, Charset>> s = m.entrySet();
		for (Entry<String, Charset> e : s) {
			System.out.println(e.getKey()+" , "+e.getValue().displayName());
		}
	}
}
